﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Model;
using DAL;
namespace BLL
{
    public class AchilveBLL
    {
        AchileDal dal = new AchileDal();
        public List<AchileModel> GetListAll(int pageSize,int topNum)
        {
            return dal.GetListAll().Skip((pageSize - 1) * topNum).Take(topNum).ToList();
        }
        public List<AchileModel> GetListAll()
        {
            return dal.GetListAll();
        }
        public bool Update(AchileModel PM)
        {
            return dal.Update(PM);
        }
        public List<AchileModel> GetListAllk()
        {
            return dal.GetListAllk();
        }
        public List<AchileModel> GetListAllY()
        {
            return dal.GetListAllY();
        }
        public bool Updates(AchileModel PM)
        {
            return dal.Updates(PM);
        }
        public List<AchileModel> GetListAllT()
        {
            return dal.GetListAllT();
        }
        public bool Updatet(AchileModel PM)
        {
            return dal.Updatet(PM);
        }
        public bool updateA(AchileModel PM)
        {
            return dal.updateA(PM);
        }
    }
}
